package com.example.demo.HelloController;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2025-03-12
 * Time: 17:14
 */
@RestController
public class HelloController {
    @RequestMapping("/sayHi")
    public String sayHi() {
        return "hi Spring boot";
    }
    @RequestMapping("/sayHello")
    public String sayHello() {
        return "hello Spring boot";
    }
}
